[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
---
PULLIT() Pull down menu box handler
Usage <SELECTION> = PULLIT(<START>,<TITLES>,[<CHOICE1>...<CHOICE5>])
-Where START is the starting menu/choice number
(i.e. 2.3 means menu2.item3 )
-Where TITLES is a delimited string of titles in the form
"TITLE1:TITLE2:TITLE3:TITLE4" with up to 5 titles.
One title for each menu BOX.
Note: titles should be limited to 12 characters.
-Where CHOICE1-CHOICE5 represent up to 5 delimited strings,
each in the format "#:prompt:prompt:prompt" with up to 9 prompts.
with # meaning the number of prompts following.
One prompt string for each menu BOX.
Limit of 9 options per menu. Options should be limited to 35
letters.
Returns A number in the form MENU.PROMPT (i.e. 3.2 , 1.1 )
So that if prompt 4 on menu 2 was selected, 2.4 would be returned
A zero is returned if aborted.(escape)
Example
TITLES = "TITLE1:TITLE2:TITLE3:title4:title5"
CHOICES1 = "7:choice1:choice2:choice3:choice4:choice5:choice6:choice7"
CHOICES2 = "3:choice1:choice2:choice3"
CHOICES3 = "3:choice1:choice2:choice3"
choiceS4 = "6:choice1:choice2:choice:choice1:choice2:choice"
CHOICES5 = "3:choice1:choice2:choice3"
SELECT = 1.1
DO WHILE .T.
SELECT = pullit(SELECT,TITLES,CHOICES1,CHOICES2,CHOICES3,
CHOICES4,CHOICES5)
IF SELECT = 0
EXIT
ENDIF
DO CASE
CASE SELECT = 1.1
CASE SELECT = 1.2
CASE SELECT = 1.3
CASE SELECT = 2.1
CASE SELECT = 2.2
ENDCASE
ENDDO
..
INTERNAL FUNCTIONS:
INI_PULL() PD_MEN_UDF() S_PULL()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson